/*
package com.object.module.sys.controller;


import com.object.configuration.utils.Q;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/rabbitmq")
public class TRabitmqControoler {
  @Autowired
  private RabbitTemplate rabbitTemplate;

    */
/**
     *  发送消息给我们的消费者
     * @param msg
     * @return
     *//*

    @GetMapping("/consumer/{msg}")
    public Q consumerMsg(@PathVariable String msg) {
        rabbitTemplate.convertAndSend("exchange_topic", RabbitmqName.rapid_consumer_routing_key,msg);
      return Q.ok();
    }

    */
/**
     *  发送消息给我们的网关
     * @param msg
     * @return
     *//*

    @GetMapping("/getaway/{msg}")
    public Q getawayMsg(@PathVariable String msg) {
        rabbitTemplate.convertAndSend("exchange_topic", RabbitmqName.rapid_gateway_routing_key,msg);
        return Q.ok();
    }

}
*/
